package cn.flying.system.mapper.cm;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.flying.system.domain.cm.CmOrganization;
import cn.flying.system.domain.cm.CmOrganizationExample;

public interface CmOrganizationMapper {
    long countByExample(CmOrganizationExample example);

    int deleteByExample(CmOrganizationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmOrganization row);

    int insertSelective(CmOrganization row);

    List<CmOrganization> selectByExampleWithRowbounds(CmOrganizationExample example, RowBounds rowBounds);

    List<CmOrganization> selectByExample(CmOrganizationExample example);

    CmOrganization selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") CmOrganization row, @Param("example") CmOrganizationExample example);

    int updateByExample(@Param("row") CmOrganization row, @Param("example") CmOrganizationExample example);

    int updateByPrimaryKeySelective(CmOrganization row);

    int updateByPrimaryKey(CmOrganization row);
}